//package com.wildlife.springboot.entity;
//
//import lombok.Data;
//import lombok.Getter;
//import org.springframework.data.neo4j.core.schema.Id;
//import org.springframework.data.neo4j.core.schema.Node;
//import org.springframework.data.neo4j.core.schema.Relationship;
//
//import java.util.List;
//
//@Getter
//@Data
//@Node("Animal")
//public class Animal {
//    @Id
//    private String name;  // 保持 String 类型
//
//    @Relationship(type = "特征")
//    private List<Attribute> attributes;
//
//    public void setName(String name) {
//        this.name = name;
//    }
//
//    public void setAttributes(List<Attribute> attributes) {
//        this.attributes = attributes;
//    }
//}